package homework02.test02;

public abstract class Phone {

    private String brand; //品牌

    private String color;


    public Phone() {
    }

    public Phone(String brand, String color) {
        setBrand(brand);
        setColor(color);
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public abstract void show();
}
